package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.mapper;

import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowFormInstanceDraft;
import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowFormInstanceDraftExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FlowFormInstanceDraftDAO {
    long countByExample(FlowFormInstanceDraftExample example);

    int deleteByExample(FlowFormInstanceDraftExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FlowFormInstanceDraft record);

    int insertSelective(FlowFormInstanceDraft record);

    List<FlowFormInstanceDraft> selectByExampleWithBLOBs(FlowFormInstanceDraftExample example);

    List<FlowFormInstanceDraft> selectByExample(FlowFormInstanceDraftExample example);

    FlowFormInstanceDraft selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FlowFormInstanceDraft record, @Param("example") FlowFormInstanceDraftExample example);

    int updateByExampleWithBLOBs(@Param("record") FlowFormInstanceDraft record, @Param("example") FlowFormInstanceDraftExample example);

    int updateByExample(@Param("record") FlowFormInstanceDraft record, @Param("example") FlowFormInstanceDraftExample example);

    int updateByPrimaryKeySelective(FlowFormInstanceDraft record);

    int updateByPrimaryKeyWithBLOBs(FlowFormInstanceDraft record);

    int updateByPrimaryKey(FlowFormInstanceDraft record);
}